import xlwings as xw
app = xw.App(visible=False, add_book=False)
workbook = app.books.open('F:\\python\\第4章\\汽车备案信息.xlsx')
worksheet = workbook.sheets['商用车信息']
rng = worksheet.range('A1:E5')
rng_row = rng.rows[3]
rng_column = rng.columns[2]
print(rng_row)
print(rng_column)
workbook.close()
app.quit()
